<template>
	<!-- 总体 -->
	<view class="container">
		<!-- 上：简介 -->
		<view class="text">
			简介
		</view>
		<!-- 下：内容 -->
		<view class="bottom">
			{{detail2}}
		</view>

	</view>
</template>

<script>
	export default {
		name: "contentcomponent",
		props: {
			detail2: {
				type: String,
				default: () => {
					return '机械天才蒂姆·詹金'
				}
			}
		},
		data() {
			return {

			}
		}
	}
</script>

<style>
	/* .container {
		height: 200px;
		width: 90%;
		margin-top: 10px;
		margin-left: 17px;
		background-color: aquamarine;
	} */

	.text {
		padding: 15px 15px;
		font-size: 20px;
	}

	.bottom {
		padding: 0px 15px;
	}
</style>
